#ifndef OTIMER_H
#define OTIMER_H
#include <OObject.h>
#include <OEvent.h>

class OTimer:public OEvent{
	public:
		OTimer(){}
		~OTimer(){}
		
		void Start(u16 t);
		void Stop();
	
	private:	
		void Invoke();
		pthread_t pid;
		u16 Time;
		static void *Run(void *arg);
};
#endif
